*, *:after, *:before {
	box-sizing: border-box;
}
/* 内容整体颜色 */
:root {
	--c-text-primary:white;
	--c-text-secondary: #6D7680;
	--c-action-primary: #F29873; 
	--c-action-primary-accent: black;
	--c-action-secondary: #63C4B1;
	--c-action-tertiary: #F9BE31;
	--c-bg-primary: #363636;
	--c-bg-secondary: #F7F6FC;
	--c-bg-search: #F0F4F5;
}
/* 内容卡片外部样式 */
body {
	font-family: "Inter", sans-serif;
	line-height: 1.5;
	min-height: 100vh;
	background-color: var(--c-action-primary-accent);
	color: var(--c-text-primary);
	padding: 2rem;
}
/* 字体设置 */
input,textarea,button {
	font: inherit;
	color: inherit;
	outline: 0;
}

img {
	display: block;
	max-width: 100%;
}

.zhuye {
	box-shadow: 0 0 2px 0 rgba(#000, .1), 0 15px 30px rgba(#444, .1);
	padding: 3rem;
	border-radius: 15px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	background-color: var(--c-bg-primary);
	min-height: calc(100vh - 4rem);
}
/* 我的主页头部设置 */
.header {
	display: flex;
	align-items: center;
}
/* "我的主页"字体设置 */
.header-logo {
	font-family: "Lora", sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
}

.header-content {
	margin-left: auto;
	display: flex;
	flex-wrap: wrap;
}

.header-search {
	display: flex;
	position: relative;
}

.search-field {
	color: #000000;
	border-radius: 99em;
	background-color: var(--c-bg-search); 
	border: none;
	padding-left: 2.75rem;
	height: 3rem;
	transition: width 380ms ease;
	width: 250px;
	&:focus {
		width: 400px;
	}
}
/* 搜索里面的小图标设置 */
.search-btn {
	border: none;
	position: absolute;
	left: .5rem; 
	top: 50%;
	transform: translateY(-50%);
	border-radius: 50%;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	i {
		font-size: 1.25rem;
		color: #ABB5BD;
	}
}
/* 我的id部分 */
.header-avatar {
	border: none;
	background-color: transparent;
	display: flex;
	align-items: center;
		margin-left: 1rem;

}
/* 我的头像部分 */
.header-avatar-img {	
	display: block;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-image: url(img/t1.jpg);
	background-position: 50% 50%;
	background-size: cover; 
	background-repeat: no-repeat;
}
/* 设置我的id与头像的间距 */
.header-avatar-name {
	margin-left: .75rem;
}
/* 内容布局 */
.main {
	margin-top: 6rem;
	display: grid;
	grid-template-columns: 1fr 4fr;
	column-gap: 5rem;
}

.tabs {
	display: flex;
	flex-direction: column;
}

.tab-btn {
	border: none;
	background-color: transparent;
	padding: .75rem;
	border-radius: 6px;
	display: flex;
	align-items: center;
	width: 100%;
	font-weight: 500;
	i {
		margin-right: .75rem;
		font-size: 1.25em;
		color: var(--c-text-secondary);
	}
	&--active, &:hover {
		color: var(--c-action-primary);
		background-color: var(--c-action-primary-accent);
		cursor: pointer;
		i {
			color: var(--c-action-primary);
		}
	}
	
	&--active {
		font-weight: 600;
	}
}


.main-content {
	background-color: #EEE;
}

.content-header {
	display: flex;
}

.content-header-inner {
	flex: 1;
}
/* "欢迎"字体设置 */
.content-header-title {
	font-size: 2.5rem;
	font-weight: 700;
	font-family: "Lora", sans-serif;
	line-height: 1.125;
	small {
		display: block;
		font-weight: 400;
		font-family: "Space Mono", monospace;
		font-size: .875em;
		color: var(--c-action-secondary);
		margin-top: .5em;
	}
}
/* "我的视频列表"字体设置 */
.content-header-info {
	margin-top: 1.5rem;
	font-weight: 600;
}

.link {
	color: var(--c-action-tertiary);
	text-decoration:none;
	box-shadow: 0 1px 0 currentcolor;
	font-weight: 600;
			i {
			display: inline-block;
			margin-left: .25rem;
		}
	&:hover, &:focus {
		box-shadow: 0 3px 0 currentcolor;

	}
}
/* 插图设置 */
.content-header-illustration {
	display: flex;
	justify-content: flex-end;
	flex: 1;
	margin-top: -2rem;
	img {
		max-width: 400px;
		max-height: 300px;
	}
}
/* "我的收藏夹"单元框设置 */
.overview {
	border: 1px solid #dedede;
	border-radius: 8px;
	min-height: 100px;
	padding: 2rem;
	&+& {
		margin-top: 3rem;
	}
}

.overview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.overview-header-title {
	font-size: 1.25rem;
	font-weight: 700;
	span {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		font-size: .75em;
		width: 2rem;
		height: 2rem;
		border-radius: 50%;
		color: var(--c-text-secondary);
		background-color: var(--c-bg-secondary);
		margin-left: .5rem;
	}
}

.summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
	margin-top: 1.5rem;
	color: var(--c-text-secondary);
}

.summary-amount {
	font-family: "Space Mono", monospace;
}

.list {
	margin-top: 1rem;
	& + .summary {
		margin-top: 2.5rem;
	}
}
/* 具体内容排版 */
.list-item {
	border-top: 1px solid #dedede;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	.list &:last-child {
		border-bottom: 1px solid #dedede;
	}
}
/* 内容文字排版 */
.list-item-video {
	display: flex;
	align-items: center;
}
/* 内容图片样式 */
.list-item-video-logo {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	
	&--square {
		border-radius: 12px;
		box-shadow: 0 0 4px 0 #dedede;
	}
}

.list-item-video-info {
	margin-left: 1.25rem;
}

.list-item-video-name {
	font-weight: 600;
}
/* 内容标签设置 */
.list-item-video-hashtag {
	display: inline-block;
	text-decoration: none;
	color: var(--c-text-secondary);
	margin-top: .125rem;
	& + & {
		margin-left: .25rem;
	}
}
/* 观看的历史记录 */
.list-item-record {
	display: flex;
	align-items: center;
}
/* "已播放时间"文字样式 */
.list-item-record-values {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.list-item-record-value {
	font-weight: 600;
	font-family: "Space Mono", monospace;
	display: inline-flex;
	align-items: center;
	i {
		margin-right: .5rem;
	}
	
	&--positive {
		color: var(--c-action-secondary);
	}
}
/* 播放时间记录样式 */
.list-item-record-time {
	color: var(--c-text-secondary);
	font-size: .875rem;
}

.list-item-record-action {
	border: none;
	background-color: var(--c-bg-search);
	border-radius: 8px;
	margin-left: 1rem;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--c-text-secondary);
}

.overview-footer {
	display: flex;
	justify-content: center;
	padding-top: 1.25rem;
}


/* 最顶部导航条 */
nav {
  float: right;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  float: left;
  position: relative;
}
nav ul li a {
  display: block;
  padding: 0 20px;
  line-height: 70px;
  background: #ffffff;
  color: #463f3f;
  text-decoration: none;
}
nav ul li a:hover {
  background: #f2f2f2;
  color: #fb5958;
}
nav ul li a:not(:only-child):after {
  padding-left: 4px;
  content: ' ▾';
}
nav ul li ul li {
  min-width: 190px;
}
nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}

.nav-dropdown {
  position: absolute;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  display: none;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  height: 70px;
  width: 70px;
}

@media only screen and (max-width: 800px) {
  .nav-mobile {
    display: block;
  }

  nav {
    width: 100%;
    padding: 70px 0 15px;
  }
  nav ul {
    display: none;
  }
  nav ul li {
    float: none;
  }
  nav ul li a {
    padding: 15px;
    line-height: 20px;
  }
  nav ul li ul li a {
    padding-left: 30px;
  }
}
#nav-toggle {
  position: absolute;
  left: 18px;
  top: 22px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #463f3f;
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}

@media screen and (min-width: 800px) {
  .nav-list {
    display: block !important;
  }
}

.navigation {
  height: 70px;
  background: #ffffff;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
}

.brand {
  position: absolute;
  padding-left: 20px;
  float: left;
  line-height: 70px;
  text-transform: uppercase;
  font-size: 1.4em;
}
.brand a,
.brand a:visited {
  color: #463f3f;
  text-decoration: none;
}